package com.peas.platform.module.icims.base.approve.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;

public enum ApproveOrderOperType implements BaseEnum {

    submit("1", "提交", CommonElType.info),
    approve("2", "审批", CommonElType.primary),
    revocation("3", "撤回", CommonElType.danger),
    print("3-1", "打印", CommonElType.info),
    replenish("3-2", "录入收支信息", CommonElType.info),
    receipt("5", "确认收单", CommonElType.info),
    paying("6", "支付处理", CommonElType.info),
    complete("7", "完结", CommonElType.info),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;

    ApproveOrderOperType(String key, String value, CommonElType elTagType) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
